package cn.xiongxf.constant;

/**
 * Redis的key相关全局常量
 */
public class RedisKeyConstant {
    // 短信验证码的key前缀
    public static final String SMSCODE_KEY_PREFIX = "sms:";

    // 黑名单的key
    public static final String BLACKLIST_KEY = "blacklists";

    // 课程类型树的key
    public static final String COURSE_TYPE_TREEDATA_KEY = "treeData";

    // 课程类型面包屑的key
    public static final String COURSE_TYPE_CRUMBS_KEY = "crumbs";

    // 推荐课程的key
    public static final String RECOMMEND_COURSES_KEY = "recommendCourses";

    // 热门推荐课程的key
    public static final String HOT_RECOMMEND_COURSES_KEY = "hotRecommendCourses";

    // 用户推荐码的key
    public static final String RECOMMEND_CODE_KEY = "recommendCode:userId=";

    // 秒杀商品的库存的key
    public static final String KILL_COURSE_STORE = "store:";

    // 秒杀课程的key
    public static final String KILL_COURSES = "killCourses";
}

